<ion-header>
  <ion-navbar>
    <ion-buttons>
      <button ion-button (click)="closeModal()">关闭</button>
    </ion-buttons>
    <ion-title>选择出差地点</ion-title>
    <ion-buttons end>
      <button ion-button (click)="completeModal()">完成</button>
    </ion-buttons>
  </ion-navbar>
  <ion-toolbar no-border-top>
    <ion-row class='flow-list-searchbar'>
      <ion-col col-10>
        <ion-toolbar no-border-top>
          <ion-searchbar [(ngModel)]="keyWord" color="light" placeholder="输入地点关键字搜索">
          </ion-searchbar>
        </ion-toolbar>
      </ion-col>
      <ion-col col-2>
        <button ion-button class="search-button" (click)="updateList()">查询</button>
      </ion-col>
    </ion-row>
    <!--<ion-searchbar [(ngModel)]="keyWord" (input)="updateList()" placeholder="输入地点关键字搜索">
    </ion-searchbar>-->
  </ion-toolbar>
</ion-header>
<ion-content>
  <ion-item-divider *ngIf="isNoMoreData" class='list-no-more-tips' color="light" [hidden]="isLoadMore">暂无更多数据...</ion-item-divider>
  <ion-list *ngIf="!isNoMoreData && dataList && dataList.length > 0">
    <ion-item *ngFor="let data of dataList">
      <ion-label style="white-space: pre-wrap;">{{data.entry.province_city}}</ion-label>
      <ion-checkbox [(ngModel)]="data.selected"></ion-checkbox>
    </ion-item>
  </ion-list>
</ion-content>
